import {   ref } from 'vue'
import { defineStore } from 'pinia'
import type { Reader } from '@/type'

export const useStore = defineStore('share-data', () => {
  const token = ref({} as Reader)

  return {
    token
  }
},{persist: {
    storage:sessionStorage

}
})
